package com.snopy.common;

/**
 * @author snopy
 * @description:
 * @classname Demo
 * @date 2020/12/16 14:26
 * @email 77912204@qq.com
 */
public class Demo {
    public static void main(String[] args){
        String jmsMsg = "5091@1:1026100#'99999991123800','99999991123801','99999991123802','99999991123803','99999991123804'-";
        int pre = jmsMsg.indexOf(":");
        int sur = jmsMsg.indexOf("#");
        String  hospCode = jmsMsg.substring(pre, sur);
        System.out.println(hospCode);
    }
}
